package com.lianxi.Courses.entity;

import java.util.Date;

public class UserResource {

    private String year;
    private String day;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    private Resource resource;

    public Resource getResource() {
        return resource;
    }

    public void setResource(Resource resource) {
        this.resource = resource;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.user_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private Integer userId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.resource_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private Integer resourceId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.see_time
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private String seeTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.create_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private Date createDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_user_resource.update_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    private Date updateDate;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.id
     *
     * @return the value of t_user_resource.id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.id
     *
     * @param id the value for t_user_resource.id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.user_id
     *
     * @return the value of t_user_resource.user_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.user_id
     *
     * @param userId the value for t_user_resource.user_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.resource_id
     *
     * @return the value of t_user_resource.resource_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public Integer getResourceId() {
        return resourceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.resource_id
     *
     * @param resourceId the value for t_user_resource.resource_id
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.see_time
     *
     * @return the value of t_user_resource.see_time
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public String getSeeTime() {
        return seeTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.see_time
     *
     * @param seeTime the value for t_user_resource.see_time
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setSeeTime(String seeTime) {
        this.seeTime = seeTime == null ? null : seeTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.create_date
     *
     * @return the value of t_user_resource.create_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.create_date
     *
     * @param createDate the value for t_user_resource.create_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_user_resource.update_date
     *
     * @return the value of t_user_resource.update_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_user_resource.update_date
     *
     * @param updateDate the value for t_user_resource.update_date
     *
     * @mbggenerated Tue Oct 14 14:26:26 CST 2025
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}